<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<script>
var str ='';
for(var i=0;i<10;i++){
	for(var j=0;j<12;j++){
		str += '<div style="left:'+ i*55 +'px; top:'+ j*55+'px;background-color:red;width:50px;height:50px;position:absolute;"></div>';		
	}
}

document.body.innerHTML =str;
var aDiv = document.getElementsByTagName('div');
var len = aDiv.length;
for(var i=0;i<len;i++){
	aDiv[i].onmouseover = function (){
		this.style.display = 'none';
	}
}
</script>
</body>
</html>
